<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Bibliotheque:  Fichier source de BdPluginRegistry.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;Rechercher&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
<h1>BdPluginRegistry.h</h1><a href="BdPluginRegistry_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef BDPLUGINREGISTRY_APP_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define BDPLUGINREGISTRY_APP_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="comment">//Includes Qt</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;QMap&gt;</span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 
<a name="l00008"></a>00008 <span class="comment">//class Qt</span>
<a name="l00009"></a>00009 <span class="keyword">class </span>QString;
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="comment">//class interne</span>
<a name="l00012"></a>00012 <span class="keyword">class </span><a class="code" href="classBdPlugin.html">BdPlugin</a>;
<a name="l00013"></a>00013 <span class="keyword">class </span><a class="code" href="classBdPluginMetadata.html" title="Class pour stocker les plugins chargé.">BdPluginMetadata</a>;
<a name="l00014"></a>00014 
<a name="l00019"></a><a class="code" href="classBdPluginRegistry.html">00019</a> <span class="keyword">class </span><a class="code" href="classBdPluginRegistry.html" title="Class qui sert de registre pour les plugins.">BdPluginRegistry</a>
<a name="l00020"></a>00020 {
<a name="l00021"></a>00021   <span class="keyword">public</span>:
<a name="l00026"></a>00026     <span class="keyword">static</span> <a class="code" href="classBdPluginRegistry.html" title="Class qui sert de registre pour les plugins.">BdPluginRegistry</a>* <a class="code" href="classBdPluginRegistry.html#ad063f408e0ea54e5e389c26fc3b947d" title="Methode pour acceder aux fonctionnalité de la classe.">instance</a>();
<a name="l00027"></a>00027     
<a name="l00034"></a>00034     <span class="keywordtype">void</span> <a class="code" href="classBdPluginRegistry.html#84c8e706731f798b707f490a92c2e0af" title="pour ajouter un plugin dans le registre">addPlugin</a>(QString nom, QString library, <a class="code" href="classBdPlugin.html">BdPlugin</a>* <a class="code" href="classBdPluginRegistry.html#3bdcc0963e8a09dfa53b9e55c410b4b7" title="Renvoi le plugin de ce nom.">plugin</a>);
<a name="l00035"></a>00035     
<a name="l00040"></a>00040     <span class="keywordtype">void</span> <a class="code" href="classBdPluginRegistry.html#bea0f7f8758b9e7b4f42caac83f4e4ca" title="Pour enlever le plugin de ce nom.">removePlugin</a>(QString nom);
<a name="l00041"></a>00041         
<a name="l00047"></a>00047     <a class="code" href="classBdPlugin.html">BdPlugin</a>* <a class="code" href="classBdPluginRegistry.html#3bdcc0963e8a09dfa53b9e55c410b4b7" title="Renvoi le plugin de ce nom.">plugin</a>(QString nom);
<a name="l00048"></a>00048     
<a name="l00054"></a>00054     QString <a class="code" href="classBdPluginRegistry.html#5e24458fb4aff3a8f181ca7f55fd0435" title="Renvoie la path du plugin.">path</a>(QString pluginKey);
<a name="l00055"></a>00055   <span class="keyword">private</span>:
<a name="l00059"></a>00059     <a class="code" href="classBdPluginRegistry.html#743a440280ac8b8d4874929f2e38e7e6" title="Constructeur.">BdPluginRegistry</a>();
<a name="l00063"></a><a class="code" href="classBdPluginRegistry.html#2bc5b2aa8a94a6cee3b0f09c8ce3ec13">00063</a>     <span class="keyword">static</span> <a class="code" href="classBdPluginRegistry.html" title="Class qui sert de registre pour les plugins.">BdPluginRegistry</a>* <a class="code" href="classBdPluginRegistry.html#2bc5b2aa8a94a6cee3b0f09c8ce3ec13" title="Protection pour creer qu&amp;#39;un seul et unique registre.">mInstance</a>;
<a name="l00064"></a>00064     
<a name="l00068"></a><a class="code" href="classBdPluginRegistry.html#0382faf01e44d71b58b69f4b783c6018">00068</a>     QMap&lt;QString,BdPluginMetadata*&gt; <a class="code" href="classBdPluginRegistry.html#0382faf01e44d71b58b69f4b783c6018" title="Map qui stocke le plugin enregistrr.">plugins</a>;
<a name="l00069"></a>00069 };
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Généré le Thu Jul 3 00:22:20 2008 pour Bibliotheque par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>
